package com.entity.sys;

import com.baomidou.mybatisplus.annotation.TableName;
import com.entity.sys.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 权限表
 * </p>
 *
 * @author clay
 * @since 2022-02-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_role")
@ApiModel(value="Role对象", description="权限表")
public class Role extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "中文名称")
    private String nameZh;

    @ApiModelProperty(value = "前端是否展示 0 不展示， 1 展示")
    private Boolean isShow;


}
